package com.orientation.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.orientation.entity.Room;
import com.orientation.vo.RoomBedVo;
import org.springframework.web.multipart.MultipartFile;

/**
 * <p>
 * 报到 服务类
 * </p>
 *
 * @author xuandian
 * @since 2022-3-9
 */
public interface RoomService extends IService<Room> {
    /**
     * 新增房间
     *
     * @param room
     */
    void insertRoom(Room room);

    /**
     *
     * @param pageNum
     * @param pageSize
     * @param buildingId
     * @param roomName
     * @return
     */

    Page<RoomBedVo> queryRoomBedVo(Integer pageNum, Integer pageSize,String buildingId,String roomName);

    /**
     * 房间格局状态d
     * @param files
     * @param sid
     */
    void updateRoomStatus(MultipartFile[] files, String sid);
}
